home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
C64
/
I-Info Magazine
/
(c)i17.d64
/
basic 4.0 doc
< prev
next >
Wrap
Text File
|
2007-02-04
|
3KB
|
66 lines
║CM:┬ASIC 4.0 DOC
║LM1:RM80
║PP66:PG64
║VP2
║CN1
*************************
* *
*┬┴╙╔├ 4.0 ─╔╙╦ ├╧══┴╬─╙*
* *
*************************
║CN0
╞╒╬├╘╔╧╬ ┼╪┴═╨╠┼ ╨╒╥╨╧╙┼
------------------------------------------------------------------------------
┴╨╨┼╬─ 10 ┴╨╨┼╬─#D,"╬┴═┼" ╧PEN FILE '╬┴═┼' ON DEVICE 'D' FOR
APPENDING. ╬EW DATA IS ADDED TO
END OF EXISTING DATA.
┬┴├╦╒╨ ┬┴├╦╒╨ ─0 ╘╧ ─1 ─UPLICATE DISK IN DRIVE 0 ONTO
DISK IN DRIVE 1.
├┴╘┴╠╧╟ ├┴╘┴╠╧╟ ─0 ─ISPLAYS LIST OF FILENAMES IN SPEC-
IFIED DRIVE.
├╧╠╠┼├╘ ├╧╠╠┼├╘ ─1 ╨URGES DISK IN SPECIFIED DRIVE OF
ANY IMPROPERLY CLOSED FILES
(INDICATED BY * BESIDE FILE TYPE).
├╧╬├┴╘ ├╧╬├┴╘ "╬┴═┼1" ╘╧ "╬┴═┼2",─1 ├ONCATENATES FILE "╬┴═┼1" TO FILE
"╬┴═┼2", IE. ╬┴═┼2=╬┴═┼2+╬┴═┼1
├╧╨┘ ├╧╨┘ "╬┴═┼",─0 ╘╧ "╬┴═┼",─1 ├OPIES FILE "╬┴═┼" FROM DRIVE 0 TO
DRIVE1.
├╧╨┘ "╬┴═┼",─0 ╘╧ "─╒╨",─0 ═AKES DUPLICATION OF FILE "╬┴═┼".
├╧╨┘ ─0 ╘╧ ─1 ├OPIES ENTIRE CONTENTS FROM ─0 TO ─1.
─├╠╧╙┼ ─├╠╧╙┼ #N ├LOSES DISK LOGICAL FILE 'N'.
─╔╥┼├╘╧╥┘ ─╔╥┼├╘╧╥┘ ─0 ┼XACT SAME AS ├ATALOG. ╒SE PREFERENCE
─╠╧┴─ ─╠╧┴─ "╬┴═┼",─D,╒U ╠OADS PROGRAM "╬┴═┼" FROM DRIVE 'D'
ON UNIT 'U'.
─╧╨┼╬ ─╧╨┼╬#N,"╬┴═┼",─D,╒U ╧PENS FILE "╬┴═┼" FOR READING FROM
DRIVE 'D', UNIT 'U'. ─EFAULT VALUES:
D=0, U=8. ─ATA IS RETRIEVED THROUGH
FILE NUMBER 'N'.
─╧╨┼╬#N,"╬┴═┼",─D,╒U,╫ ╧PENS FILE "╬┴═┼" FOR WRITING TO
DRIVE 'D', UNIT 'U'. ╬OT NECESSARY
FOR ╥┼╠ATIVE FILES.
─╙┴╓┼ ─╙┴╓┼ "╬┴═┼",─D,╒U ╙AVES CURRENT PROGRAM TO DRIVE 'D'
ON UNIT 'U' AS FILE "╬┴═┼".
╚┼┴─┼╥ ╚┼┴─┼╥"─╔╙╦╬┴═┼",─D,╔ID,╒U ╞ORMATS DISK IN DRIVE 'D' UNIT 'U'
ASSIGNING IT A "─╔╙╦╬┴═┼" AND 'ID'.
╥┼├╧╥─ 10 ╥┼├╧╥─#N,A ╨OSITIONS RELATIVE FILE OPEN ON
LOGICAL FILE NUMBER 'N' TO RECORD
NUMBER 'A'. 'A' MAY BE DYNAMIC BUT
MUST BE ENCLOSED IN BRACKETS.
╥┼╬┴═┼ ╥┼╬┴═┼ "╬┴═┼" ╘╧ "╬┼╫╬┴═┼",─0 ├HANGES A FILENAME.
╙├╥┴╘├╚ ╙├╥┴╘├╚ "╬┴═┼",─1 ┼LIMINATES FILE "╬┴═┼" FROM DISK.